<?php

//Connect to the pvirt database
function databaseconnect() {
    mysql_connect("localhost", "webmaster", "password") or die("cannot connect");
    mysql_select_db("pvirt") or die("cannot select DB");
}

?>